package cpa.prowon.gui.actions;

import cpa.prowon.gui.HelpWindow;
import cpa.prowon.gui.MainWindow;

/**
 * This action is used to open the help about window
 * @author Chris
 */
public class HelpAboutAction extends PatchedAction {

	/**
	 * Constructor
	 * @param MainWindow The window where the action is used
	 * @author Chris
	 */
	public HelpAboutAction(MainWindow w) {
		super(w);
	}

	/**
	 * Return the title key
	 * @return The title key
	 * @author Chris
	 */
	protected String getTitleKey() {
		return "menu_item_help_about";
	}

	/**
	 * Return the tooltip key
	 * @return The tooltip key
	 * @author Chris
	 */
	protected String getTooltipKey() {
		return "";
	}

	/**
	 * Return the image key
	 * @return The image key
	 * @author Chris
	 */
	protected String getImageKey() {
		return "";
	}
	
	/**
	 * Run the action
	 * @author Chris
	 */
	public void run() {

		// Open the help about window
		HelpWindow ha = new HelpWindow(window);
		ha.open();

	}

}
